Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump Quartz.Extensions.DependencyInjection and Quartz #140

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 5, 2024

Bumps Quartz.Extensions.DependencyInjection and Quartz. These dependencies needed to be updated together.
Updates Quartz.Extensions.DependencyInjection from 3.8.1 to 3.12.0

Release notes

Sourced from Quartz.Extensions.DependencyInjection's releases.

Quartz.NET 3.12.0

This release aims to alleviate some problems that have been present then Quartz's own global singletons clash with DI containers singleton concept when DI container is being torn down during testing. Now both scheduler repository and DB connection manager are scoped inside DI container and share container's lifetime.

If you want to have multiple service collections sharing same global state, you should manually register IDbConnectionManager and ISchedulerRepository to DI as singletons pointing to global object instances.

// add globals before AddQuartz to get old behavior
services.AddSingleton<IDbConnectionManager>(DBConnectionManager.Instance);
services.AddSingleton<ISchedulerRepository>(SchedulerRepository.Instance);
services.AddQuartz(...)

What's Changed

Full Changelog: quartznet/quartznet@v3.11.0...v3.12.0

Quartz.NET 3.11.0

What's Changed

New Contributors

Full Changelog: quartznet/quartznet@v3.10.0...v3.11.0

Quartz.NET 3.10.0

This release adds support for using System.Text.Json as serializer for JSON payloads stored in database via new integration package Quartz.Serialization.SystemTextJson. Please note that there might be small incompatibilities between Newtonsoft and STJ (de)serialization. If you are using only strings as data values, there should be no compatibility issues. Using the new integration package is ideal for new greenfield projects.

What's Changed

... (truncated)

Changelog

Sourced from Quartz.Extensions.DependencyInjection's changelog.

Release 3.12.0, Aug 3 2024

This release aims to alleviate some problems that have been present then Quartz's own global singletons clash with DI containers singleton concept when DI container is being torn down during testing. Now both scheduler repository and DB connection manager are scoped inside DI container and share container's lifetime.

If you want to have multiple service collections sharing same global state, you should manually register IDbConnectionManager and ISchedulerRepository to DI as singletons pointing to global object instances.

  • NEW FEATURES

    • Add custom trigger serializer support for Newtonsoft integration (#2480)
  • CHANGES

    • Change scheduler repository to be singleton scoped to DI under MS DI integration (#2502)
    • Change DB connection manager to be singleton scoped under MS DI integration (#2504)
  • FIXES

    • Make scheduler registration cleanup more robust during shutdown (#2498)

Release 3.11.0, Jul 7 2024

  • NEW FEATURES

    • Add support for DbDataSource (#2439)
    • Allow MSSQL Init Database script to be configured to not delete existing tables (#2449)
  • CHANGES

    • Update build actions to use checkout/@v4 for Docs and Qodana (#2451)
    • Change NativeJob to use RuntimeInformation.IsOSPlatform instead of env var (#2411)
  • FIXES

    • Fix issues with STJ serializer (#2434)
    • Fix DirtyFlagMap enumerator behaviors (#2445)
    • Improve binary to JSON migration support and documentation (#2458)
    • Don't create intermediate MemoryStream in SystemTextJsonObjectSerializer (#2418)

Release 3.10.0, Jun 26 2024

  • NEW FEATURES

    • Add support for System.Text.Json serializer (#2416)
  • CHANGES

    • Use newtonsoft as preferred JSON serializer type alias (#2412)
    • Change NativeJob to use RuntimeInformation.IsOSPlatform instead of env var (#2411)
  • FIXES

    • Fix NativeJob crashing when working directory parameter missing (#2407)

Release 3.9.0, May 9 2024

... (truncated)

Commits
  • 00fb3db Release preparations
  • 39a6383 Change DB connection manager to be singleton scoped under MS DI integration (...
  • 8778b0b Cleanup
  • ac35f77 Make ISchedulerRepository and SchedulerRepository public
  • 2a57ccc Fix scheduler repository lookup in QuartzScheduler
  • 5a63e2d Change scheduler repository to be singleton scoped to DI under MS DI integrat...
  • e26bb5d Make scheduler registration cleanup more robust during shutdown (#2498)
  • 405dddb Add custom trigger serializer support for Newtonsoft integration (#2480)
  • c8bba86 Improve API documentation
  • 722b75d Upgrade System.Text.Json to 8.0.4 (#2466)
  • Additional commits viewable in compare view

Updates Quartz from 3.8.1 to 3.12.0

Release notes

Sourced from Quartz's releases.

Quartz.NET 3.12.0

This release aims to alleviate some problems that have been present then Quartz's own global singletons clash with DI containers singleton concept when DI container is being torn down during testing. Now both scheduler repository and DB connection manager are scoped inside DI container and share container's lifetime.

If you want to have multiple service collections sharing same global state, you should manually register IDbConnectionManager and ISchedulerRepository to DI as singletons pointing to global object instances.

// add globals before AddQuartz to get old behavior
services.AddSingleton<IDbConnectionManager>(DBConnectionManager.Instance);
services.AddSingleton<ISchedulerRepository>(SchedulerRepository.Instance);
services.AddQuartz(...)

What's Changed

Full Changelog: quartznet/quartznet@v3.11.0...v3.12.0

Quartz.NET 3.11.0

What's Changed

New Contributors

Full Changelog: quartznet/quartznet@v3.10.0...v3.11.0

Quartz.NET 3.10.0

This release adds support for using System.Text.Json as serializer for JSON payloads stored in database via new integration package Quartz.Serialization.SystemTextJson. Please note that there might be small incompatibilities between Newtonsoft and STJ (de)serialization. If you are using only strings as data values, there should be no compatibility issues. Using the new integration package is ideal for new greenfield projects.

What's Changed

... (truncated)

Changelog

Sourced from Quartz's changelog.

Release 3.12.0, Aug 3 2024

This release aims to alleviate some problems that have been present then Quartz's own global singletons clash with DI containers singleton concept when DI container is being torn down during testing. Now both scheduler repository and DB connection manager are scoped inside DI container and share container's lifetime.

If you want to have multiple service collections sharing same global state, you should manually register IDbConnectionManager and ISchedulerRepository to DI as singletons pointing to global object instances.

  • NEW FEATURES

    • Add custom trigger serializer support for Newtonsoft integration (#2480)
  • CHANGES

    • Change scheduler repository to be singleton scoped to DI under MS DI integration (#2502)
    • Change DB connection manager to be singleton scoped under MS DI integration (#2504)
  • FIXES

    • Make scheduler registration cleanup more robust during shutdown (#2498)

Release 3.11.0, Jul 7 2024

  • NEW FEATURES

    • Add support for DbDataSource (#2439)
    • Allow MSSQL Init Database script to be configured to not delete existing tables (#2449)
  • CHANGES

    • Update build actions to use checkout/@v4 for Docs and Qodana (#2451)
    • Change NativeJob to use RuntimeInformation.IsOSPlatform instead of env var (#2411)
  • FIXES

    • Fix issues with STJ serializer (#2434)
    • Fix DirtyFlagMap enumerator behaviors (#2445)
    • Improve binary to JSON migration support and documentation (#2458)
    • Don't create intermediate MemoryStream in SystemTextJsonObjectSerializer (#2418)

Release 3.10.0, Jun 26 2024

  • NEW FEATURES

    • Add support for System.Text.Json serializer (#2416)
  • CHANGES

    • Use newtonsoft as preferred JSON serializer type alias (#2412)
    • Change NativeJob to use RuntimeInformation.IsOSPlatform instead of env var (#2411)
  • FIXES

    • Fix NativeJob crashing when working directory parameter missing (#2407)

Release 3.9.0, May 9 2024

... (truncated)

Commits
  • 00fb3db Release preparations
  • 39a6383 Change DB connection manager to be singleton scoped under MS DI integration (...
  • 8778b0b Cleanup
  • ac35f77 Make ISchedulerRepository and SchedulerRepository public
  • 2a57ccc Fix scheduler repository lookup in QuartzScheduler
  • 5a63e2d Change scheduler repository to be singleton scoped to DI under MS DI integrat...
  • e26bb5d Make scheduler registration cleanup more robust during shutdown (#2498)
  • 405dddb Add custom trigger serializer support for Newtonsoft integration (#2480)
  • c8bba86 Improve API documentation
  • 722b75d Upgrade System.Text.Json to 8.0.4 (#2466)
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [Quartz.Extensions.DependencyInjection](https://github.com/quartznet/quartznet) and [Quartz](https://github.com/quartznet/quartznet). These dependencies needed to be updated together.

Updates `Quartz.Extensions.DependencyInjection` from 3.8.1 to 3.12.0
- [Release notes](https://github.com/quartznet/quartznet/releases)
- [Changelog](https://github.com/quartznet/quartznet/blob/v3.12.0/changelog.md)
- [Commits](quartznet/quartznet@v3.8.1...v3.12.0)

Updates `Quartz` from 3.8.1 to 3.12.0
- [Release notes](https://github.com/quartznet/quartznet/releases)
- [Changelog](https://github.com/quartznet/quartznet/blob/v3.12.0/changelog.md)
- [Commits](quartznet/quartznet@v3.8.1...v3.12.0)

---
updated-dependencies:
- dependency-name: Quartz.Extensions.DependencyInjection
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: Quartz
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants